// import request from '@apulis/request';
import { iamRequest } from "@/utils/request";

// export async function getUserInfo() {
//   return iamRequest('/api/users');
// }
export async function queryCurrent() {
  return iamRequest('/auth/currentUser');
}
export async function queryNotices() {
  return iamRequest('/api/notices');
}
export async function getEndpoints() {
  return await iamRequest('/authz/endpoints');
}
export async function getUserInfo() {
  return iamRequest('/users/current');
}
